<!DOCTYPE html>
<html>
<title>View transitions: span with overflowing text is rendered correctly (ref)</title>
<link rel="help" href="https://drafts.csswg.org/css-view-transitions-1/">
<link rel="author" href="mailto:khushalsagar@chromium.org">
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />

<style>
:root {
  font: 20px/1 Ahem;
}

div {
  width: 250px;
  visibility: hidden;
}
span {
  text-shadow: red -2px -5px;
  border: 2px solid black;
  box-shadow: 3px 3px red, -1em 0 .4em olive;
  view-transition-name: target;
  visibility: visible;
}

body {
  background: pink;
}
</style>

<div>
  FILLER FILLER<span>This text should render correctly</span>
</div>

